<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="nl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Mootools History Manager</title>

<link  href="style.css" rel="stylesheet" type="text/css" media="screen" />

<script src="mootools-1.2.3-core.js" type="text/javascript"></script>
<script src="Awf.historyManager.js" type="text/javascript"></script>
<script type="text/javascript">

window.addEvent('domready',function(){
	// Load the historyManager

	new Awf.historyManager({
		defaultHash: {
			page: 'hello there!'
		},
		delay: 200
	})
		.register('page',function(value){
			$('debug').set('text',value);
		})
		.start();	

});
	
</script>

</head>
<body>

<h1>Mootools History Manager</h1>

<p>
	Mootools History Manager is a small history manager which uses the <code>location.hash</code> to 
</p>

<ul>
	<li><a href="#page:hi">Hi!</a></li>
	<li><a href="#page:second">This is a second link</a></li>
</ul>

<div id="debug">
	
</div>

<div id="debug2"></div>

</body>
</html>
